package com.ctshk.rpc.goods.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 专题商品明细-DTO参数
 * </p>
 *
 * @author 姜斌文
 * @since 2021-05-07
 */
@Data
@ApiModel(value = "ShoppingSpecialCommodityDetailedDTO对象", description = "专题商品明细")
public class ShoppingSpecialCommodityDetailedDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "专题商品id")
    private Long id;

    @ApiModelProperty(value = "专题id")
    private Long specialId;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "文件url")
    private String fileUrl;

    @ApiModelProperty(value = "售价")
    private BigDecimal price;

    @ApiModelProperty(value = "sku库存")
    private Integer stock;
}
